about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/archivers/pxattr/default.nix
blob: 79a40e6ca6be891b04b7e32e2579f48c8cca4528 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchurl, gcc }:

stdenv.mkDerivation {
  name = "pxattr-2.1.0";

  src = fetchurl {
    url = "https://www.lesbonscomptes.com/pxattr/pxattr-2.1.0.tar.gz";
    sha256 = "1dwcqc5z7gzma1zhis2md49bj2nq7m6jimh4zlx9szw6svisz56z";
  };

  buildInputs = [ gcc ];

  installPhase = ''
    mkdir -p $out/bin
    cp pxattr $out/bin
  '';

  meta = {
    homepage = "https://www.lesbonscomptes.com/pxattr/index.html";
    description = "Provides a single interface to extended file attributes";
    maintainers = [ lib.maintainers.vrthra ];
    license = [ lib.licenses.mit ];
    platforms = lib.platforms.unix;
  };
}