depot/third_party/nixpkgs/pkgs/tools/archivers/pxattr/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

27 lines
677 B
Nix

{ lib, stdenv, fetchurl, gcc }:
stdenv.mkDerivation rec {
pname = "pxattr";
version = "2.1.0";
src = fetchurl {
url = "https://www.lesbonscomptes.com/pxattr/pxattr-${version}.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;
mainProgram = "pxattr";
};
}