2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let version = "0.2"; in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "regionset";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://linvdr.org/download/regionset/regionset-${version}.tar.gz";
|
|
|
|
sha256 = "1fgps85dmjvj41a5bkira43vs2aiivzhqwzdvvpw5dpvdrjqcp0d";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 {.,$out/bin}/regionset
|
|
|
|
install -Dm644 {.,$out/share/man/man8}/regionset.8
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit version;
|
|
|
|
homepage = "http://linvdr.org/projects/regionset/";
|
|
|
|
description = "Tool for changing the region code setting of DVD players";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|