diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/version-management/vcprompt')
-rw-r--r-- | nixpkgs/pkgs/applications/version-management/vcprompt/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/version-management/vcprompt/default.nix b/nixpkgs/pkgs/applications/version-management/vcprompt/default.nix new file mode 100644 index 000000000000..85fe83996da3 --- /dev/null +++ b/nixpkgs/pkgs/applications/version-management/vcprompt/default.nix @@ -0,0 +1,30 @@ +{ 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; + }; +} |