nixpkgs/pkgs/tools/misc/pixd/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
557 B
Nix

{ stdenv, fetchFromGitHub }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "pixd";
version = "1.0.0";
src = fetchFromGitHub {
owner = "FireyFly";
repo = "pixd";
rev = "v${version}";
sha256 = "1vmkbs39mg5vwmkzfcrxqm6p8zr9sj4qdwng9icmyf5k34c34xdg";
};
makeFlags = [ "PREFIX=$(out)" ];
meta = {
description = "Colourful visualization tool for binary files";
homepage = https://github.com/FireyFly/pixd;
maintainers = [ maintainers.FireyFly ];
license = licenses.mit;
platforms = platforms.unix;
};
}