2011-10-21 02:43:56 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2016-01-13 03:28:14 +01:00
|
|
|
let version = "0.2"; in
|
2011-10-21 02:43:56 +02:00
|
|
|
stdenv.mkDerivation {
|
2016-01-13 03:28:14 +01:00
|
|
|
name = "regionset-${version}";
|
2011-10-21 02:43:56 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-01-13 03:28:14 +01:00
|
|
|
url = "http://linvdr.org/download/regionset/regionset-${version}.tar.gz";
|
|
|
|
sha256 = "1fgps85dmjvj41a5bkira43vs2aiivzhqwzdvvpw5dpvdrjqcp0d";
|
2011-10-21 02:43:56 +02:00
|
|
|
};
|
|
|
|
|
2016-01-13 03:28:14 +01:00
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 {.,$out/bin}/regionset
|
|
|
|
install -Dm644 {.,$out/share/man/man8}/regionset.8
|
|
|
|
'';
|
2011-10-21 02:43:56 +02:00
|
|
|
|
2016-01-13 03:28:14 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit version;
|
|
|
|
homepage = http://linvdr.org/projects/regionset/;
|
2017-12-05 23:20:11 +01:00
|
|
|
description = "Tool for changing the region code setting of DVD players";
|
2016-01-13 03:28:14 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2011-10-21 02:43:56 +02:00
|
|
|
};
|
|
|
|
}
|