depot/third_party/nixpkgs/pkgs/tools/misc/pixd/default.nix

26 lines
557 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
with 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;
};
}