2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, gcc }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-18 13:19:15 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pxattr";
|
|
|
|
version = "2.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-18 13:19:15 +00:00
|
|
|
url = "https://www.lesbonscomptes.com/pxattr/pxattr-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = [ lib.maintainers.vrthra ];
|
|
|
|
license = [ lib.licenses.mit ];
|
|
|
|
platforms = lib.platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "pxattr";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|