snore: 0.2 -> 0.3.1
This commit is contained in:
parent
9813adc7f7
commit
3f8c01fd69
1 changed files with 2 additions and 10 deletions
|
@ -1,24 +1,16 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
|
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.2";
|
version = "0.3.1";
|
||||||
pname = "snore";
|
pname = "snore";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "clamiax";
|
owner = "clamiax";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-EOwbRqtQEuGZ+aeCBNVfLUq4m/bFWJTvMDM6a+y74qc=";
|
hash = "sha256-bKPGSePzp4XEZFY0QQr37fm3R1v3hLD6FeySFd7zNJc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix POSIX_C_SOURCE macro. Remove with the next release.
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/clamiax/snore/commit/284e5aa56e775803d24879954136401a106aa063.patch";
|
|
||||||
sha256 = "sha256-len8E8h9CXC25WB2lmnLLJ0PR903tgllDh9K2RqzQk0=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue