depot/third_party/nixpkgs/pkgs/tools/graphics/guff/default.nix

27 lines
556 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "guff";
version = "0.1.0";
src = fetchFromGitHub {
owner = "silentbicycle";
repo = "guff";
rev = "v${version}";
sha256 = "0n8mc9j3044j4b3vgc94ryd2j9ik6g73fqja54yxfdfrks4ksyds";
};
makeFlags = [ "PREFIX=$(out)" ];
doCheck = true;
meta = with lib; {
description = "Plot device";
homepage = "https://github.com/silentbicycle/guff";
license = licenses.isc;
maintainers = [ ];
platforms = platforms.all;
mainProgram = "guff";
};
}