5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
30 lines
772 B
Nix
30 lines
772 B
Nix
{ lib, 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 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; [ ];
|
|
platforms = with platforms; linux ++ darwin;
|
|
license = licenses.gpl2Plus;
|
|
};
|
|
}
|