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