mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
32 lines
578 B
Nix
32 lines
578 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libast";
|
|
version = "0.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mej";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-rnqToFi+d6D6O+JDHQxkVjTc/0RBag6Jqv4uDcE4PNc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
|
|
meta = with lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "Library of Assorted Spiffy Things";
|
|
license = licenses.bsd2;
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|