depot/third_party/nixpkgs/pkgs/applications/version-management/vcprompt/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
783 B
Nix

{ stdenv, fetchhg, autoconf, sqlite }:
stdenv.mkDerivation rec {
pname = "vcprompt";
version = "1.2.1";
src = fetchhg {
url = "http://hg.gerg.ca/vcprompt/";
rev = version;
sha256 = "03xqvp6bfl98bpacrw4n82qv9cw6a4fxci802s3vrygas989v1kj";
};
buildInputs = [ sqlite autoconf ];
preConfigure = ''
autoconf
makeFlags="$makeFlags PREFIX=$out"
'';
meta = with stdenv.lib; {
description = ''
A little C program that prints a short string with barebones information
about the current working directory for various version control systems
'';
homepage = "http://hg.gerg.ca/vcprompt";
maintainers = with maintainers; [ cstrahan ];
platforms = with platforms; linux ++ darwin;
license = licenses.gpl2Plus;
};
}