2014-07-02 07:43:47 +01:00
|
|
|
{ stdenv, fetchhg, autoconf, sqlite }:
|
|
|
|
|
2015-05-14 16:18:17 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "vcprompt";
|
2015-05-14 16:18:17 +01:00
|
|
|
version = "1.2.1";
|
2014-07-02 07:43:47 +01:00
|
|
|
|
|
|
|
src = fetchhg {
|
|
|
|
url = "http://hg.gerg.ca/vcprompt/";
|
2015-05-14 16:18:17 +01:00
|
|
|
rev = version;
|
2014-07-02 07:43:47 +01:00
|
|
|
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
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://hg.gerg.ca/vcprompt";
|
2014-07-02 07:43:47 +01:00
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
platforms = with platforms; linux ++ darwin;
|
2018-09-08 14:15:58 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2014-07-02 07:43:47 +01:00
|
|
|
};
|
|
|
|
}
|