diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-09-21 11:04:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 11:04:46 +0200 |
commit | 92b4bda85e88d98ed45342a5783960f73c12b191 (patch) | |
tree | b4bce94221e7daf80484fc904d4e1a49c4d06235 /pkgs/by-name | |
parent | 7c33c8d4529c5f40237c39d83ea4a6e2b32d50a7 (diff) | |
parent | 15eb417c0a2794654cdb39041804a0347120c159 (diff) | |
download | nixpkgs-92b4bda85e88d98ed45342a5783960f73c12b191.tar nixpkgs-92b4bda85e88d98ed45342a5783960f73c12b191.tar.gz nixpkgs-92b4bda85e88d98ed45342a5783960f73c12b191.tar.bz2 nixpkgs-92b4bda85e88d98ed45342a5783960f73c12b191.tar.lz nixpkgs-92b4bda85e88d98ed45342a5783960f73c12b191.tar.xz nixpkgs-92b4bda85e88d98ed45342a5783960f73c12b191.tar.zst nixpkgs-92b4bda85e88d98ed45342a5783960f73c12b191.zip |
Merge pull request #256254 from numinit/binsort
binsort: init at 0.4-1
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/bi/binsort/package.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/by-name/bi/binsort/package.nix b/pkgs/by-name/bi/binsort/package.nix new file mode 100644 index 00000000000..edb41c64226 --- /dev/null +++ b/pkgs/by-name/bi/binsort/package.nix @@ -0,0 +1,35 @@ +{ lib +, stdenv +, fetchurl +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "binsort"; + version = "0.4-1"; + + src = fetchurl { + url = "http://neoscientists.org/~tmueller/binsort/download/binsort-${finalAttrs.version}.tar.gz"; + hash = "sha256-l9T0LlDslxCgZYf8NrbsRly7bREOTGwptLteeg3TNRg="; + }; + + makeFlags = [ + "CC=${stdenv.cc.targetPrefix}cc" + ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/bin + cp binsort $out/bin/ + + runHook postInstall + ''; + + meta = with lib; { + description = "Sort files by binary similarity"; + homepage = "http://neoscientists.org/~tmueller/binsort/"; + license = licenses.bsd3; + maintainers = with maintainers; [ numinit ]; + platforms = platforms.unix; + }; +}) |